package com.lagou.edu;

import com.lagou.edu.feignclient.EmailFeignClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.lagou.edu.feignclient"})
public class CodeServiceApplication8081 {

    public static void main(String[] args) {
        SpringApplication.run(CodeServiceApplication8081.class,args);
    }

}
